package com.shj.dao;

import com.shj.entity.SysArea;

import java.util.List;

public interface SysAreaMapper {
    int delete(String areaCode);

    int insert(SysArea record);

    SysArea selectByPrimaryKey(String areaCode);

    List<SysArea> findAll();

    List<SysArea> findByGrade(int grade1, int grade2);

    List<SysArea> findChildArea(String areaCode, int grade);

    int update(SysArea record);

    String maxCode(SysArea sysArea);
}